package com.xbongbong.paas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.PaasFormServiceEntity;

import java.util.List;
import java.util.Map;

/**
 * @author 吴峰
 * @date 2021/03/03 16:16
 */

public interface PaasFormServiceModel extends IModel<PaasFormServiceEntity> {

    /**
     * @param param
     * @return java.util.List<com.xbongbong.pro.domain.entity.LowCodeActionSettingEntity>
     * @author 吴峰
     * @date 2021/3/3 16:21
     */
    @Override
    List<PaasFormServiceEntity> findEntitys(Map<String, Object> param);

    /**
     * 删除
     * @param deleteList
     * @param corpid
     * @return java.lang.Integer
     * @author 吴峰
     * @date 2021/3/4 20:24
     */
    Integer deleteBatch(List<Long> deleteList, String corpid);
    /**
     * 删除
     * @param addList
     * @return java.lang.Integer
     * @author 吴峰
     * @date 2021/3/4 20:24
     */
    Integer addBatch(List<PaasFormServiceEntity> addList);
    /**
     * 更新
     * @param updateList
     * @param corpid
     * @return java.lang.Integer
     * @author 吴峰
     * @date 2021/3/4 20:24
     */
    Integer updateBatch(List<PaasFormServiceEntity> updateList, String corpid);
    /**
     * 删除
     * @param formId
     * @param corpid
     * @param businessType
     * @return java.lang.Integer
     * @author 吴峰
     * @date 2021/3/24 16:41
     */
    Integer deleteByFormId(Long formId, String corpid, Integer businessType);
}
